﻿<UserControl x:Class="MolfMolfMolf.NewsItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot">
        <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">-->
            
            <Grid x:Name="pubDate" >
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
            <StackPanel Margin="5,5" x:Name="NewsPanel">
                <Image x:Name="image" Width="200" Height="150" Grid.Row="0" />
                <StackPanel Background="{StaticResource PhoneAccentBrush}">
                    <TextBlock x:Name="title" Grid.Row="1" Width="200" Margin="5,0,5,15"  MaxHeight="50" FontSize="20"   TextWrapping="Wrap"></TextBlock>
                </StackPanel>
                <TextBlock x:Name="description"  Margin="6" Visibility="Collapsed"></TextBlock>
                <TextBlock  x:Name="updateDate" Width="350"  TextAlignment="Right" Visibility="Collapsed" />
            </StackPanel>
                
            
            <!--<Grid x:Name="pubDate">
                <Image x:Name="image" Width="100" Height="100" Margin="5"  ></Image>
                <TextBlock x:Name="title" Grid.Row="0" Width="350"  FontSize="28"  TextWrapping="Wrap" Foreground="{StaticResource PhoneAccentBrush}" ></TextBlock>
                <TextBlock x:Name="description"  Margin="6" Visibility="Collapsed"></TextBlock>
                <TextBlock Grid.Row="1" x:Name="updateDate" Width="350"  TextAlignment="Right" Visibility="Collapsed" />-->
                
            </Grid>
        <!--</StackPanel>-->

    </Grid>
</UserControl>
